<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
mm_showMyFileName(__FILE__);
 ?>

<?php echo $buttons_header // The PDF, Email and Print buttons ?>

<?php
if( $this->get_cfg( 'showPathway' )) {
	echo "<div class=\"pathway\">$navigation_pathway</div>";
}
if( $this->get_cfg( 'product_navigation', 1 )) {
	if( !empty( $previous_product )) {
		echo '<a class="previous_page" href="'.$previous_product_url.'">'.shopMakeHtmlSafe($previous_product['product_name']).'</a>';
	}
	if( !empty( $next_product )) {		
		echo '<a class="next_page" href="'.$next_product_url.'">'.shopMakeHtmlSafe($next_product['product_name']).'</a>';
	}
}
?>
flypage_images
<table border="0" style="width: 100%;">
  <tbody>
	<tr>
    	    <td>    
	        	<?php if( $this->get_cfg('showManufacturerLink')) { ?>
  					<?php echo $manufacturer_link ?>
				<?php } ?>
	  			<div class="productTitle"><?php echo $product_name ?> <?php echo $edit_link ?></div>
	  		</td>
    </tr>
    <tr>
    <td>
    	<table border="1" style="border-color:#003;">
		<tr>
    		<td rowspan="4" width="400px;" align="center">
				<?php echo $product_image ?>
                <br/>
	  			<?php if( !empty($images)) { ?>
		  			<div class="thumbnailListContainer">
		  		<?php echo $this->vmListAdditionalImages( $product_id, $images );?>
		  			</div>
		 		<?php } ?> 

                <br /><?php echo $product_reviews ?>
            </td>
      		<td valign="top" align="center">
                <div class="vmCartContainer">    
		      	<?php echo $product_price_lbl ?>
                <div class="productPriceDetails">
    	  		<?php echo $product_price ?></div>
                <?php echo $addtocart ?> <br />
                </div>
            </td>
	     <tr>
            <td valign="top">
	  			<?php echo $product_packaging ?><br />
            </td>
         </tr>
		<tr>
		  	<td><?php echo $ask_seller ?>
            <br /><?php echo $product_type ?></td>
		</tr>
	<tr>
	  <td>
	  <?php 
	  		if( $this->get_cfg( 'showAvailability' )) {
	  			echo $product_availability; 
	  		}
	  		?><br />
	  </td>
	</tr>
		</table>
    </td>
	</tr>

	<tr>
	  <td colspan="2"><hr />
	  	<?php echo $product_description ?><br/>
	  	<span style="font-style: italic;"><?php echo $file_list ?></span>
	  </td>
	</tr>

	<tr>
	  <td><?php echo $product_reviewform ?><br /></td>
	</tr>
	<tr>
	  <td><?php echo $related_products ?><br />
	   </td>
	</tr>
	<?php if( $this->get_cfg('showVendorLink')) { ?>
		<tr>
		  <td><div style="text-align: center;"><?php echo $vendor_link ?><br /></div><br /></td>
		</tr>
	<?php  } ?>
	<?php if( isset($paypalLogo)) : ?>
		<tr>
			<td align="center">
				<?php echo $paypalLogo ?>
			</td>
		</tr>
	<?php endif;?>
  </tbody>
</table>
<?php 
if( !empty( $recent_products )) { ?>
	<div class="vmRecent">
	<?php echo $recent_products; ?>
	</div>
<?php 
}
if( !empty( $navigation_childlist )) { ?>
	<?php echo $VM_LANG->_('PHPSHOP_MORE_CATEGORIES') ?><br />
	<?php echo $navigation_childlist ?><br style="clear:both"/>
<?php 
} ?>
